﻿<Window x:Class="LoginWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Login" SizeToContent="WidthAndHeight" WindowStartupLocation="CenterScreen" WindowStyle="None" AllowsTransparency="True" Background="{x:Null}" Icon="/MyPOS;component/Images/POSIcon.ico">
    <Border BorderThickness="1" BorderBrush="Black">
        <Grid Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <TextBlock Text="Login" Margin="10,2" FontWeight="SemiBold" FontSize="14"/>
        <Button Style="{DynamicResource CloseButtonStyle}" Width="11.195" Content="Button" x:Name="CloseButton" Cursor="Hand" HorizontalAlignment="Right" Margin="0,5.583,7.468,0" VerticalAlignment="Top" Height="12.77"/>
        <Button Style="{DynamicResource MinimizeButtonStyle}" Width="12.402" Content="Button" x:Name="MinimizeButton" Cursor="Hand" HorizontalAlignment="Right" Margin="0,4.733,24.606,0" VerticalAlignment="Top" Height="13.537"/>

            <Grid Grid.Row="1" Margin="10,5" Background="{StaticResource WindowBackground}">
        <Grid.RowDefinitions>
                <RowDefinition Height="22"/>
                <RowDefinition Height="28"/>
                <RowDefinition  Height="22"/>
                <RowDefinition Height="28"/>
                <RowDefinition Height="22"/>
                <RowDefinition Height="28"/>
                <RowDefinition Height="50"/>
            </Grid.RowDefinitions>
            <TextBlock Text="User Name" Margin="15,2" Foreground="White"/>
            <TextBox Grid.Row="1" Margin="15,2" Name="UsernameTextBox" Width="300"/>
            <TextBlock Grid.Row="2" Margin="15,2" Text="Password"/>
            <PasswordBox Grid.Row="3" Margin="15,2" Name="UserPasswordBox" Width="300"/>
            <TextBlock Grid.Row="4" Margin="15,2" Text="Financial Year"/>
            <ComboBox Grid.Row="5" Margin="15,2" Name="FinancialYearComboBox" Width="300">
                    <ComboBoxItem Content="2010-2011" />
                </ComboBox>
                <Button Content="Login" Width="100" Grid.Row="6" Height="35" Name="LoginButton" Style="{StaticResource MetroButton}"/>
        </Grid>
    </Grid>
    </Border>
</Window>
